gdk: Short-circuit some surface setters
authorMatthias Clasen <mclasen@redhat.com>
Wed, 20 May 2020 14:55:27 +0000 (10:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 20 May 2020 14:55:27 +0000 (10:55 -0400)
commit6d8153d8fdce0d6d6745b4cf6585fc9655cc89d7
tree7786875c0b2c13e65b2fd2938bdbcef67eb302f3
parentae711d830110ac194370956308c74c91d8b69ef9
gdk: Short-circuit some surface setters

Don't call into the backends when the input region
or shadow width don't actually change. This avoid
distracting calls in debug logs, and just generally
is the right thing to do.
gdk/gdksurface.c